how to automate testing of Dynamics AX